<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" ;content="IE=edge, chrome=1" />
    <title>伯图店中店管理后台</title>
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    </script>
</head>
<style>

</style>

<body>
    <div id="app"></div>
</body>

<script type="text/javascript">
    function BrowserType() {
        var userAgent = navigator.userAgent;
        var isOpera = userAgent.indexOf("Opera") > -1;
        var isIE =
            userAgent.indexOf("compatible") > -1 &&
            userAgent.indexOf("MSIE") > -1 &&
            !isOpera;
        var isEdge =
            userAgent.indexOf("Windows NT 6.1; Trident/7.0;") > -1 && !isIE;
        var isFF = userAgent.indexOf("Firefox") > -1;
        var isSafari =
            userAgent.indexOf("Safari") > -1 && userAgent.indexOf("Chrome") == -1;
        var isChrome =
            userAgent.indexOf("Chrome") > -1 && userAgent.indexOf("Safari") > -1;

        if (isIE) {
            var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
            reIE.test(userAgent);
            var fIEVersion = parseFloat(RegExp["$1"]);
            if (fIEVersion == 7) {
                return "IE7";
            } else if (fIEVersion == 8) {
                return "IE8";
            } else if (fIEVersion == 9) {
                return "IE9";
            } else if (fIEVersion == 10) {
                return "IE10";
            } else if (fIEVersion == 11) {
                return "IE11";
            } else {
                return "0";
            }
        }

        if (isFF) {
            return "FF";
        }
        if (isOpera) {
            return "Opera";
        }
        if (isSafari) {
            return "Safari";
        }
        if (isChrome) {
            return "Chrome";
        }
        if (isEdge) {
            return "Edge";
        }
    }
    if (
        BrowserType() == "IE9" ||
        BrowserType() == "IE8" ||
        BrowserType() == "IE7"
    ) {
        alert(
            "浏览器版本过低，部分功能可能无法展示，建议更换浏览器或更新最新版本"
        );
    }
</script>

</html>